package day0318;

/**
 * @Author Stringzhua
 * @Date 2024/3/18 14:04
 * description:包装类
 * 向上转型
 */
public class static_01 {
    public static void main(String[] args) {
        Number number = new Integer(128);
        System.out.println(number.intValue());
        System.out.println(number.shortValue());
        System.out.println(number.byteValue());

        System.out.println(number.floatValue());
        System.out.println(number.doubleValue());

        System.out.println(Long.SIZE);
        System.out.println(Long.BYTES);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);

        System.out.println(Byte.MAX_VALUE);
        System.out.println(Byte.MIN_VALUE);
    }
}
